home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13635 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: zeus.ptltd.com!usenet
  2. From: JLOMAX@PTLTD.COM (Jeff Lomax)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: VB40 - requires VC++ Constants. Where to get the values.....??
  5. Date: 26 Mar 1996 18:00:55 GMT
  6. Organization: Phoenix Technologies Ltd
  7. Message-ID: <4j9bcn$5ai@zeus.ptltd.com>
  8. References: <3158747A.9E6@iha.bepr.ethz.ch>
  9. NNTP-Posting-Host: lomaxj.ptltd.com
  10. X-Newsreader: WinVN 0.99.5
  11.  
  12. See WinUser.h and WinGdi.h for these defines...
  13.  
  14. Jeff
  15.  
  16.  
  17.  
  18. In article <3158747A.9E6@iha.bepr.ethz.ch>, hoffmann@iha.bepr.ethz.ch says...
  19. >
  20. >hello world,
  21. >
  22. >I am using VBasic40 on Win95. May this is the wrong forum, but I can
  23. >try....
  24. >So, I am writing an application in VB, which should allow to switch
  25. >the resolution of the graphic-card without rebooting the system.
  26. >There are SDK-functions in the MSDN, which are described to be used to
  27. >perform the desired task.
  28. >This description contains functions like, ChangeDisplaySettings,
  29. >which uses constants, which values are not defined. that's sh..,
  30. >because the VB-interpreter does not know, how to interpret the
  31. >constants....
  32. >a solution could be, that the desired constants are defined in any
  33. >VC++ header. That's the reason, why I post the request into this 
  34. >group. I don't have access to VC++.
  35. >Does anyone know, the values of the following constants out of a C++
  36. >header?
  37. >Or does anyone know, where to get the values.?
  38. >
  39. >CDS_UPDATEREGISTRY
  40. >CDS_TEST
  41. >CDS_FORCE
  42. >
  43. >DISP_CHANGE_SUCCESSFUL
  44. >DISP_CHANGE_RESTART
  45. >DISP_CHANGE_BADFLAGS
  46. >DISP_CHANGE_FAILED
  47. >DISP_CHANGE_BADMODE
  48. >DISP_CHANGE_NOTUPDATED
  49. >
  50. >DM_BITSPERPEL
  51. >DM_PELSWIDTH
  52. >DM_PELSHEIGHT
  53. >DM_DISPLAYFLAGS
  54. >DM_DISPLAYFREQENCY
  55. >
  56. >I appreciate any repley....
  57. >thanks a lot.!
  58. >Andreas
  59. >
  60. >
  61. >--------------------------------------------------------------------
  62. >  PLEASE RESPOND ALSO BY E-MAIL..!!
  63. >--------------------------------------------------------------------
  64. >  Andreas Hoffmann
  65. >  Institute of Hygiene and Applied Physiology 
  66. >  Swiss Federal Institute of Technology
  67. >  ETH Center
  68. >  CH-8092 Zurich
  69. >  Switzerland
  70. >
  71. >  Phone  : ++ 41-1-632 3987
  72. >  Fax    : ++ 41-1-632 1173 
  73. >  e-mail : hoffmann@iha.bepr.ethz.ch
  74. >--------------------------------------------------------------------
  75.  
  76.